package com.hnguigu.health.houduan.lq.service_lq.impl;

import com.hnguigu.health.houduan.lq.service_lq.THealthmgrService;
import com.hnguigu.health.mapper.THealthmgrMapper;
import com.hnguigu.health.pojo.THealthmgr;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class THealthmgrServiceImpl implements THealthmgrService {
    @Autowired(required = false)
    THealthmgrMapper tHealthmgrMapper;
    @Override
    public List<THealthmgr> selectAllTHealthmgr() {
        return tHealthmgrMapper.selectAllTHealthmgr();
    }

    @Override
    public THealthmgr selectAllTHealthmgrByhealthMgrId(int healthMgrId) {
        return tHealthmgrMapper.selectAllTHealthmgrByhealthMgrId(healthMgrId);
    }
}
